package org.example.day20240812;

public class Base {
    public static void main(String[] args) {
//        int i = 110;
//        System.out.println(Integer.toBinaryString(i));转二进制
//        System.out.println(Integer.toHexString(i));转16进制
//        short lage = (short)i;
//        System.out.println(lage);
//        char a ='ア';
//        int A = a;
//        System.out.println(A);
//        数据类型，类型转换，进制转换
        String msg = "323";
        int k = Integer.parseInt(msg);
        k = k-1;
        System.out.println(k);

    }
}
